function name() {
	return "Wrap Inner With Function";
}

function execute() {
	context.html = panda.render("test", function($) {
		$("div").wrapInner(function() {
			return "<div class='test'></div>";
		});

		context.elems = $(".test");
	});
}

function verify() {
	var elems = context.elems;
	Assert.assertEquals(4, elems.length, 0);

	Assert.assertEquals(1, elems.eq(0).children().length, 0);
	Assert.assertEquals("a", elems[0].parentNode.id);

	var $elem = elems.eq(2);
	Assert.assertEquals(10, elems.eq(2).children().length, 0);
	Assert.assertEquals("c", elems[2].parentNode.id);
}
